﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGBTech.Core.Models.DanhMuc;

namespace TGBTech.Core.Models.Models.ChungTu
{
    [Table("CTChungTuNhap")]
    public class CTChungTuNhap
    {
        public int Id { get; set; }
        [Required]
        public int ChungTuNhapId{ get; set; }

        public virtual ChungTuNhap ChungTuNhap { get; set; }
        [Required]
        public Int64 CTHangHoaId { get; set; }
        public virtual ChiTietHangHoa CTHangHoa { get; set; }
        [Required]
        public int SoLuong { get; set; }
        [Required]
        public Decimal DonGia { get; set; }
        [Required]
        public int VAT { get; set; }
    }
}
